package architect.design.patterns.structural.decorator;

/**
 * 具体类
 *
 * @author guanxin
 * @date 2018/5/5 16:08
 */

public class CakeBase implements BakeryComponent {

    private String name = "Cake Base";
    private double price = 200.0;

    @Override
    public String getName() {
        return this.name;
    }

    @Override
    public double getPrice() {
        return this.price;
    }
}
